﻿using System;
using System.IO;

namespace SelfManagement.Web.App_Start
{
    public static class UEditorConfigure
    {
        public static void Common(UEditor.Configuration settings)
        {
            settings.ImageUrlPrefix = "/Uploads/Ueditor/Images/";
            settings.ImageSaveDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, settings.ImageUrlPrefix);
        }
    }
}